package com.zjhn.ds.domain.entity.erp;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.sql.Date;

/**
 * @BelongsProject: ds_jlw
 * @BelongsPackage: com.zjhn.ds.domain.entity.erp
 * @Author: sxt
 * @CreateTime: 2023-09-04  10:45
 * @Description:
 * @Version: 1.0
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("dbo.basic_customer")
public class Customer {

    @TableId
    private String id;

    @TableField("customer_sort_id")
    private String customerSortId;

    private String code;

    private String name;

    private String hotkey;

    @TableField("short_name")
    private String shortName;

    @TableField("simple_code")
    private String simpleCode;

    @TableField("advance_day")
    private Integer advanceDay;

    @TableField("currency_id")
    private String currencyId;

    private String address;

    private String tax;

    private String bank;

    private String account;

    private Integer credit;

    private Integer term;

    private String post;

    private String fax;

    private String linkman;

    private String mobile;

    private String phone;

    private String qq;

    private String email;

    @TableField("CreatorId")
    private String creatorId;

    @TableField("CreationTime")
    private Date creationTime;

    @TableField("LastModifierId")
    private String lastModifierId;

    @TableField("LastModificationTime")
    private Date lastModificationTime;

    @TableField("DeleterId")
    private String deleterId;

    @TableField("DeletionTime")
    private Date deletionTime;

    private Integer status;

    @TableField("IsDeleted")
    private Integer isDeleted;

    private String memo;

    private String bak1;

    private String bak2;

    private String bak3;

    private String bak4;

    private BigDecimal bak5;

    @TableField("TenantId")
    private String tenantId;
}
